package cn.wolfcode.book.dao;

import cn.wolfcode.book.entity.Book;
import cn.wolfcode.book.entity.Books;
import cn.wolfcode.entity.BookQueryObject;
import cn.wolfcode.entity.QueryObject;

import java.util.List;

/**
 * @author 李新雨的项目86176
 * @version 1.0
 * @date 2024-10-26 11:07
 */
public interface BookDAO {
    void add(Book book);
    void delById(Long id);
    void edit(Book book);
    Book selOneById(Long id);
    List<Book> selAll();
    List<Book> selConditionAll(BookQueryObject bookQueryObject);

    int selCount(QueryObject qo);
    List<Book> selList(QueryObject qo);

    List<Book> selAllTrue(QueryObject queryObject);

    void addT(Books book);



}
